package com.silverbox.shopper.entity;

import java.io.Serializable;
import java.util.Date;

/**
box_scan_code_record
 */
public class ScanCodeRecord implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 2012438508331673890L;

	/**
     */
    private Long id;

    /**
     * 所属店铺
     */
    private Integer shopperId;

    /**
     * 所属桌台
     */
    private Integer tableId;

    /**
     * 第三方用户信息
     */
    private Long userId;

    /**
     * 顾客来源   1：支付宝 2：微信
     */
    private Integer source;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 交易订单号 可以为空
     */
    private String orderNum;

    /**
     * 外部供应商id
     */
    private Long outerSupportId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    public Long getOuterSupportId() {
        return outerSupportId;
    }

    public void setOuterSupportId(Long outerSupportId) {
        this.outerSupportId = outerSupportId;
    }
}